from apscheduler.schedulers.background import BackgroundScheduler
from app.dongcai.index import zt_his


scheduler = BackgroundScheduler()

scheduler.add_job(zt_his,'cron',second='*',minute='29-59',hour='9',day_of_week='0-4')
scheduler.add_job(zt_his,'cron',second='*',minute='*',hour='10',day_of_week='0-4')
scheduler.add_job(zt_his,'cron',second='*',minute='0-30',hour='11',day_of_week='0-4')
scheduler.add_job(zt_his,'cron',second='*',minute='*',hour='13-15',day_of_week='0-4')

